1 |
Accumulator variableAn accumulator variable is a variable that is declared outside of a loop and used within a loop to keep track of information throughout all loop iterations. For example, you could create a 'total' variable outside of a loop and then add values to this variable from within the loop to create a running total of values. total = 0 while True: [..]
|
<< Reverse compensation | Augmented assignment operators >> |